import request2 from '@/utils/request2'

// 赛事列表显示
export function getList(data) {
  return request2({
    url: '/old/matchs/index',
    method: 'post',
    data
  })
}
// 添加赛事
export function addList(data) {
  return request2({
    url: '/old/matchs/create',
    method: 'post',
    data
  })
}
// 修改赛事
export function editList(data) {
  return request2({
    url: '/old/matchs/edit',
    method: 'post',
    data
  })
}
